/*package com.leave.service;

import java.util.List;

import com.leave.dao.impl.SystemDaoImpl;
import com.leave.dao.inter.SystemDaoInter;
import com.leave.entity.User;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import net.sf.json.JsonConfig;

*//**
 * 年级服务层
 * @author bojiangzhou
 *
 *//*
public class SystemService {
	
	SystemDaoInter dao = (SystemDaoInter) new SystemDaoImpl();
	


	*//**
	 * 登录验证
	 * @param user
	 * @return 
	 *//*
	public User getAdmin(User user) {
		User searchUser = (User) dao.getObject(User.class, 
				"SELECT * FROM user WHERE account=? AND password=? AND type=?", 
				new Object[]{user.getAccount(), user.getPassword(), user.getType()});
		
		return searchUser;
	}

	
	
	
}*/
